package com.jeecg.p3.system.poster.service;

import com.jeecg.p3.system.poster.dao.ExamAnswerDao;
import com.jeecg.p3.system.poster.entity.ExamAnswer;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 *
 * @ClassName: ExamAnswerService
 * @Description: TODO 试题答案数据处理层
 * @author: zhangxiao
 * @date: 2021年1月10日 下午7:29:38
 */
@Service
public class ExamAnswerService {
    @Resource
    private ExamAnswerDao dao;

    /**
     * 根据参数查询
     * @param answer
     * @return
     */
    public List<ExamAnswer> findByParam(ExamAnswer answer) {
        return dao.findByParam(answer);
    }
}
